OLEObject.Invoke Function

Invokes a method of the COM server, and passes the array of parameters to the method. Make sure to correctly dimension the array, as this will determine the number of parameters that get passed to the method.

Syntax

result = OLEObject.Invoke( NameOfFunction, Parameters() )

Parameters

NameOfFunction

String

Parameters()

array of Variant

Return Value

Result

Variant

Notes

The first parameter begins at 1.